using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using AvaProvi;

namespace AvaProvi
{
    public partial class frmNuevoAvaluo : Form
    {
        public clsAvaluo_CRN Avaluo { get; set; }

        public frmNuevoAvaluo()
        {
            InitializeComponent();
           
        }

        private void btnAceptar_Click(object sender, EventArgs e)
        {
            if (!Avaluo.DatosValidos())
                this.DialogResult = DialogResult.None;
        }

        private void frmNuevoAvaluo_Load(object sender, EventArgs e)
        {
            this.bsAvaluo.DataSource = this.Avaluo;
        }
    }
}